package com.zygh.policeasset.controller;

import com.zygh.policeasset.mapper.DictDataMapper;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping({"/dictData"})
@Api(tags = {"字典管理"})
@RestController
/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/controller/DictDataController.class */
public class DictDataController {
    @Autowired
    DictDataMapper dictDataMapper;

    @RequestMapping(value = {"/findBydictType/{dictType}"}, method = {RequestMethod.GET})
    @ApiOperation("通过字典类型查询")
    public Object findBydictType(@PathVariable String dictType) {
        return this.dictDataMapper.findBydictType(dictType);
    }
}